public class Palindrom {

	public static boolean isPalindrom(int value) {

		final int size = 32;
		final int one = 1;

		boolean result = true;
		for (int i = 0; i < size / 2; i++) {
			if (!(((value >> i) & 1) == ((value >> (size - 1 - i)) & one))) {
				result = false;
				break;
			}
		}
		return result;
	}

	// Check whether the bit representation of integer is a palindrome
	public static void main(String[] args) {

		System.err.println(isPalindrom(0));
		System.err.println(isPalindrom(1444137066));
	}

}
